// 侧边栏菜单项，路由配置文件，对应新增菜单的meueId
const _import = require('./_import_production')
import Layout from '../views/layout/Layout'

const routerList = {
  'layout': {
    path: '/layout',
    component: Layout
  },
  // 系统管理
  'system': {
    path: '/system',
    component: Layout
  },
  // 菜单
  'menu': {
    path: 'menu',
    component: _import('basicData/menus/menu')
  },
  // 用户
  'user': {
    path: 'user',
    component: _import('basicData/user/index')
  },
  // 角色
  'role': {
    path: 'role',
    component: _import('basicData/role/index')
  },
  // 日志
  'logs': {
    path: 'logs',
    component: _import('basicData/logs/index')
  },
  // 信息管理
  'information': {
    path: '/information',
    component: Layout
  },
  // 信息分类
  'informationSort': {
    path: 'informationSort',
    component: _import('information/informationSort/index')
  },
  // 信息发布
  'informationPublish': {
    path: 'informationPublish',
    component: _import('information/informationPublish/index')
  },
  // 合作伙伴
  'partner': {
    path: 'artner',
    component: _import('information/partner/index')
  },
  // 站内导航
  'sitemap': {
    path: 'sitemap',
    component: _import('information/sitemap/index')
  },
  // 友情链接
  'blogroll': {
    path: 'blogroll',
    component: _import('information/blogroll/index')
  },
  // 广告管理
  'adver': {
    path: '/adver',
    component: Layout
  },
  // 广告位
  'adpositions': {
    path: 'adpositions',
    component: _import('adver/advertisePosi/index')
  },
  // 广告位内容
  'adinfos': {
    path: 'adinfos',
    component: _import('adver/advertiseInfo/index')
  },
  // 留言管理
  'message': {
    path: '/message',
    component: Layout
  },
  // 留言列表
  'messageList': {
    path: 'messageList',
    component: _import('message/messageList/index')
  },
  // 空二级路由页
  'emptySec': {
    path: '/emptySec',
    component: _import('commonRouterView/index')
  },
  // 空路由页
  'empty': {
    path: 'empty',
    component: _import('test/index')
  }
}

export default routerList

